﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBContract.Abstract
{
    public interface IDBRepository<T> where T : class
    {
        object Create(T obj);
        object CreateOfUpdate(T obj);
        object Update(T obj);
        void Delete(T obj);

        IQueryable<T> Query();

        long Count();
    }
}
